<html>
<head><meta charset="utf-8"><title>installing and build.rs · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html">installing and build.rs</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="162046815"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162046815" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162046815">(Mar 29 2019 at 13:39)</a>:</h4>
<p>So <span class="user-mention" data-user-id="133169">@matklad</span> I am now getting this</p>
<p><code>rust-analyzer failed to load workspace: cargo metadata failed: error during execution of </code>cargo metadata<code>: error: failed to parse manifest at </code>c:\Users\niko\code\game-dev\ferris-lives\Cargo.toml<code> Caused by: failed to parse the version requirement </code>build.rs<code> for dependency </code>build<code> Caused by: the given version requirement is invalid</code></p>



<a name="162046837"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162046837" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162046837">(Mar 29 2019 at 13:39)</a>:</h4>
<p>I'll see if maybe I did something wrong</p>



<a name="162046843"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162046843" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162046843">(Mar 29 2019 at 13:39)</a>:</h4>
<p>probably</p>



<a name="162046939"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162046939" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162046939">(Mar 29 2019 at 13:40)</a>:</h4>
<p>Could you paste <code>Cargo.toml</code> here? It looks like a bug in cargo_metadata crate</p>



<a name="162046946"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162046946" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162046946">(Mar 29 2019 at 13:40)</a>:</h4>
<p>oh lol</p>



<a name="162046966"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162046966" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162046966">(Mar 29 2019 at 13:41)</a>:</h4>
<p>or, as a sanity check, does <code>cargo build</code> work?</p>



<a name="162046967"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162046967" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162046967">(Mar 29 2019 at 13:41)</a>:</h4>
<p>I'm just an idiot</p>



<a name="162046969"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162046969" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162046969">(Mar 29 2019 at 13:41)</a>:</h4>
<div class="codehilite"><pre><span></span>[dependencies]
build = &quot;build.rs&quot;
</pre></div>



<a name="162046979"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162046979" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162046979">(Mar 29 2019 at 13:41)</a>:</h4>
<p><a href="http://build.rs" target="_blank" title="http://build.rs">build.rs</a> is not, indeed, a valid semver</p>



<a name="162047237"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162047237" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162047237">(Mar 29 2019 at 13:44)</a>:</h4>
<p>cool, seems to be working now</p>



<a name="162047242"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162047242" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162047242">(Mar 29 2019 at 13:44)</a>:</h4>
<p>at least I get parse errors at the expected times :)</p>



<a name="162047280"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162047280" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162047280">(Mar 29 2019 at 13:44)</a>:</h4>
<p>cool!</p>



<a name="162047356"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162047356" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162047356">(Mar 29 2019 at 13:45)</a>:</h4>
<p>I recommend taking a quick look at <a href="https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/features.md" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/features.md">https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/features.md</a> to learn what is possible</p>



<a name="162047419"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162047419" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162047419">(Mar 29 2019 at 13:46)</a>:</h4>
<p>ah, thanks</p>



<a name="162047426"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162047426" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162047426">(Mar 29 2019 at 13:46)</a>:</h4>
<p>I was just going to ask "where can I go RTFM"</p>



<a name="162047483"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162047483" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162047483">(Mar 29 2019 at 13:47)</a>:</h4>
<p>you are a model user :)</p>



<a name="162047506"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162047506" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162047506">(Mar 29 2019 at 13:47)</a>:</h4>
<p>man, lots of stuff. Now I have to learn how to configure keybindings in VSCode I guess</p>



<a name="162047651"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/installing%20and%20build.rs/near/162047651" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/installing.20and.20build.2Ers.html#162047651">(Mar 29 2019 at 13:49)</a>:</h4>
<p>/me whispers "Ferris Lives" <span aria-label="joy" class="emoji emoji-1f602" role="img" title="joy">:joy:</span></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>